package UnitTests;

import Gui.MainGui;
import Robot.RobotControl;
import Robot.RobotListener;

public class RobotListenerPollingRateTest {

	/**
	 * @param args
	 * @throws InterruptedException 
	 */
	public static void main(String[] args) throws InterruptedException {
		RobotControl control;
		MainGui window;
		RobotListener robot;
		
		
		for(int i = 0; i < 1000; i++)
		{
			control = new RobotControl();
			window = new MainGui(control);
			control.setMainGui(window);
			/*
			robot = new RobotListener(Motor.A, Motor.C, Motor.B, 
					SensorPort.S1, SensorPort.S4,control);
			robot.start();
			Thread.sleep(5000);
			robot.stop();
			*/
			
		}

	}

}
